package com.hb.trans.mvp.contract

import com.basiclib.inter.IModel
import com.basiclib.inter.IMvpView
import com.hb.trans.bean.Base
import com.hb.trans.bean.New
import io.reactivex.Observable

interface NewListContract {

    interface View : IMvpView {
        fun setupData(news: MutableList<New>?)
    }


    interface Model : IModel {
        fun getNewList(labelId: String): Observable<Base<MutableList<New>>>
    }
}